package com.guodi.map.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
* @描述:  前端控制器
* @作者: 陈宏成
* @日期: 2021-04-16
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("map_roam")
@ApiModel(value="MapRoam对象", description="")
public class MapRoam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "路线坐标点集合json")
    @TableField("flight_path")
    private String flightPath;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "creator",updateStrategy = FieldStrategy.NEVER)
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time",updateStrategy = FieldStrategy.NEVER)
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "modifier",insertStrategy = FieldStrategy.NEVER)
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "modify_time",insertStrategy = FieldStrategy.NEVER)
    private Date modifyTime;

    @ApiModelProperty(value = "排序号")
    @TableField("sort")
    private Integer sort;


}
